<%--
  Created by IntelliJ IDEA.
  User: 14136
  Date: 2024/11/30
  Time: 19:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
  <title>添加商品</title>
</head>
<body>
<form action="AddGoodsServlet" method="post">
  商品编号：<input type="text" name="goods_id"><br>
  商品名称：<input type="text" name="goods_name"><br>
  商品类别：<input type="text" name="category"><br>
  商品单价：<input type="text" name="unitprice"><br>
  商品库存：<input type="text" name="stock"><br>
  商品图片：<input type="text" name="photo"><br>
  商品详情：<textarea name="details"></textarea><br>
  上架时间：<input type="date" name="add_time"><br>
  更新时间：<input type="date" name="change_time"><br>
  商品状态：<select name="goods_state">
  <option value="0">上架</option>
  <option value="1">下架</option>
</select><br>
  <input type="submit" value="添加商品">
</form>
</body>
</html>